package com.ruoyi.sywx.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 舆情视图对象 sywx_yq
 *
 * @author ruoyi
 * @date 2024-01-09
 */
@Data
@ExcelIgnoreUnannotated
public class SywxYqVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 发帖人id
     */
    @ExcelProperty(value = "发帖人id")
    private Long posterId;

    /**
     * 发生日期
     */
    @ExcelProperty(value = "发生日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date occurDate;

    /**
     * 舆情等级
     */
    @ExcelProperty(value = "舆情等级")
    private String level;

    /**
     * 舆情内容
     */
    @ExcelProperty(value = "舆情内容")
    private String content;

    /**
     * 舆情链接
     */
    @ExcelProperty(value = "舆情链接")
    private String url;

    /**
     * 舆情类型
     */
    @ExcelProperty(value = "舆情类型")
    private String type;

    private List<Long> yqUnit;

    private List<Long> yqPoster;

    private int annexNum;

    private int feedbackNum;

    private String annex;

    private String feedback;

    private String unitName;

    private String typeName;

    private Integer sjfxNum;

    private String sjfxName;

}
